/* museum-da: Museum Dark Admin 
   museum-a: Museum Admin */

body {
    --main-background: #3c373e;
    --element-background: rgba(0, 0, 0, 0.2);
    --low-contrast-text-color: rgba(255, 255, 255, 0.3);
    --link-highlight-color: #fff;
    --dark-border-color: rgb(0 0 0 / 23%);
    --primary-color: #337ab7;
    --secondary-color: #777;
    --danger-color: #d9534f;
    --success-color: #4cae4c;
    --white-color: #fff;
    --warning-color: #d9b94f;
}

a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.museum-da a {
    color: var(--low-contrast-text-color);
}

.museum-da a:hover,
.museum-da a:focus {
    color: var(--link-highlight-color);
}

html,
body {
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

body.museum-da {
    background: var(--main-background);
}

body.blank {
    display: flex;
    padding: 40px 0;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

body.blank .wrap {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: -40px auto;
    padding: 15px;
}

body.blank .wrap>div {
    width: 100%;
}

.wrap>.container {
    padding: 10px 15px 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}


/* add sorting icons to gridview sort links */

a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/
    "\e151";
}

a.desc:after {
    content: /*"\e114"*/
    "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th,
.grid-view td:last-child {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}


/* align the logout "link" (button in form) of the navbar */

.nav li>form>button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li>form>button.logout {
        display: block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
    text-decoration: none;
}

.nav>li>form>button.logout:focus {
    outline: none;
}


/* Tables */

.museum-a .table thead tr,
.museum-a .table thead th {
    padding-bottom: 10px;
    border-top: none;
    border-bottom: none !important;
    font-size: 11px;
    text-transform: uppercase;
}

.museum-a table td a {
    text-decoration: underline;
}

.museum-a .table>thead>tr>td {
    border: none;
}

.museum-da .table thead th {
    color: var(--white-color);
}

.museum-da .table thead th a {
    color: var(--white-color);
}

.museum-da .table .filters .form-control {
    background-color: var(--element-background);
    color: var(--white-color);
    border-color: var(--dark-border-color);
}

.museum-da .table .filters .form-control option {
    background: var(--main-background);
    color: var(--white-color);
}

.museum-a .table .filters td {
    padding-bottom: 30px;
}

.museum-a .table tbody th,
.museum-a .table tbody td {
    font-weight: 400;
    padding-bottom: 20px;
    padding-top: 20px;
    font-weight: 300;
    border: none;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.museum-da .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

.museum-da .table tbody td {
    color: #777;
}

.museum-da .table tbody tr:hover td,
.museum-da .table tbody tr:focus td {
    color: var(--white-color);
}

.museum-a .detail-view th {
    width: 30%;
}

.museum-da .detail-view th {
    width: 30%;
    color: var(--white-color)
}

.table-header {
    border: 1px solid var(--element-background);
    padding: 16px 10px 16px 10px;
    border-bottom: none;
    margin-bottom: 0;
    border-radius: 4px 4px 0 0;
    font-size: 14px;
    font-weight: 600;
}

.museum-da .table-header {
    color: var(--low-contrast-text-color);
    background: #00000040;
}

.table-headered {
    border: 1px solid var(--element-background);
    border-top: none;
}


/* Input fields */

.museum-da .search-form {
    padding: 20px 20px 10px 20px;
    border: 1px solid var(--dark-border-color);
    background-color: var(--element-background);
}

.museum-da .search-form .form-control {
    background-color: var(--element-background);
    border-color: var(--dark-border-color);
}

.museum-da .search-form .form-control option {
    background: var(--main-background);
    color: var(--white-color);
}

.museum-da .control-label {
    color: var(--low-contrast-text-color);
}

.museum-da .create-form .form-control {
    color: var(--white-color);
    background-color: var(--element-background);
    border-color: var(--dark-border-color);
}

.museum-da .create-form .form-control[disabled],
.museum-da .create-form .form-control[readonly],
fieldset[disabled] .museum-da .create-form .form-control {
    color: var(--low-contrast-text-color);
}

.museum-da .create-form input[type="file"] {
    color: var(--white-color);
    background-color: var(--element-background);
    border-color: var(--dark-border-color);
    padding: 10px;
    border-radius: 4px;
}

.museum-da .create-form .form-control option {
    background: var(--main-background);
    color: var(--white-color);
}

.museum-da .create-form label {
    color: var(--low-contrast-text-color);
}

.museum-da .create-form .anchor-container {
    padding: 10px;
    display: block;
    background: var(--element-background);
    border-radius: 4px;
}

.museum-da .create-form .anchor-container a {
    text-decoration: underline;
}

.museum-da .select2-container--krajee-bs3 .select2-selection {
    box-shadow: none;
    background-color: var(--element-background);
    border: 1px solid var(--dark-border-color);
    border-radius: 4px;
    color: var(--low-contrast-text-color);
    font-size: 14px;
    outline: 0;
}

.select2-container--krajee-bs3 .select2-selection--multiple .select2-selection__choice {
    color: var(--low-contrast-text-color);
    background: var(--element-background);
    border: 1px solid var(--dark-border-color);
    padding: 4px 8px;
}

.select2-container--krajee-bs3 .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--low-contrast-text-color);
}

.select2-container--krajee-bs3 .select2-selection--single .select2-selection__rendered {
    padding: 0 18px 0 0;
}


/* Buttons */

.btn-main-page {
    width: 156px;
    height: 82px;
    margin: 0 8px 20px 0;
    padding: 12px;
    white-space: normal;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.museum-da .btn-main-page {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background-color: var(--element-background);
}

.museum-da .btn-main-page:hover {
    color: var(--link-highlight-color);
    background-color: var(--primary-color);
}

.btn-link-main-page {
    width: 156px;
    height: 82px;
    margin: 0 8px 20px 0;
    padding: 12px;
    border: 1px solid var(--dark-border-color);
    white-space: normal;
}

.museum-da .btn-link-main-page {
    color: var(--low-contrast-text-color);
    background-color: var(--element-background);
}

.museum-da .btn-link-main-page:hover {
    color: var(--link-highlight-color);
}

.museum-da .btn-success {
    color: var(--success-color);
    background-color: var(--element-background);
    border-color: var(--success-color);
}

.museum-da .btn-success:hover,
.museum-da .btn-success:focus {
    color: #fff;
    background-color: var(--success-color);
}

.museum-da .btn-primary {
    color: var(--primary-color);
    background-color: var(--element-background);
    border-color: var(--primary-color);
}

.museum-da .btn-primary:hover,
.museum-da .btn-primary:focus {
    color: var(--white-color);
    background-color: var(--primary-color);
}

.museum-da .btn-secondary {
    color: var(--secondary-color);
    background-color: var(--element-background);
    border-color: var(--secondary-color);
}

.museum-da .btn-secondary:hover,
.museum-da .btn-secondary:focus {
    color: var(--white-color);
    background-color: var(--secondary-color);
}

.museum-da .btn-danger {
    color: var(--danger-color);
    background-color: var(--element-background);
    border-color: var(--danger-color);
}

.museum-da .btn-danger:hover,
.museum-da .btn-danger:focus {
    color: var(--white-color);
    background-color: var(--danger-color);
}


/* Other UI */

.museum-da .pagination>.disabled>span {
    color: var(--low-contrast-text-color);
    background-color: var(--element-background);
    border-color: var(--dark-border-color);
}

.museum-da .pagination>.active>a {
    color: var(--link-highlight-color);
    background-color: var(--dark-border-color);
    border-color: var(--dark-border-color);
}

.museum-da .pagination>li>a {
    color: var(--low-contrast-text-color);
    background-color: var(--element-background);
    border-color: var(--dark-border-color);
}

.museum-da .img-thumbnail {
    width: 280px;
    background-color: var(--element-background);
    border-color: var(--dark-border-color);
}

.museum-a .img-thumbnail {
    width: 280px;
    margin-bottom: 15px;
}

.museum-da .panel {
    background: none;
}

.contract-table-container {
    padding-left: 50px;
    padding-right: 50px;
}

.project-table-container {
    width: 1400px;
}

.badge-secondary {
    background-color: var(--secondary-color);
}

.badge-warning {
    background-color: var(--warning-color);
}

.badge-danger {
    background-color: var(--danger-color);
}

.badge-success {
    background-color: var(--success-color);
}

.badge-dark {
    background-color: var(--element-background);
}

.badge-light {
    background-color: var(--link-highlight-color);
    color: #000;
    font-weight: normal;
}

.project-summary {
    background: #f9f9f9;
    padding: 20px;
    margin: 20px 0 20px 0;
    border: 1px solid #ccc;
}

.project-summary h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.project-summary .badge {
    padding: 10px;
}


/* PAGE */

.breadcrumb {
    display: inline-block;
    border: 1px solid var(--element-background);
    background: none;
}

.museum-da .breadcrumb {
    border: none;
    background: var(--element-background);
}

.museum-a .main-title {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 21px;
}

.museum-da .main-title {
    color: #fff;
}

.museum-a .create-form .sub-title {
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 27px;
    margin-top: 32px;
}

.museum-da .sub-title {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 18px;
    color: var(--low-contrast-text-color);
}

.search-form {
    margin-top: 35px;
    margin-bottom: 35px;
}

.museum-da .grid-view .summary {
    color: var(--low-contrast-text-color);
}

.museum-da .treeview .list-group-item:hover {
    background-color: var(--element-background);
}

.museum-da .tree-header .form-control {
    background-color: var(--element-background);
    border-color: var(--dark-border-color);
}

.museum-da .tree-header .close {
    color: var(--low-contrast-text-color);
    opacity: 1;
    text-shadow: none;
}

.action-menu__container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.museum-a .treeview .badge {
    background-color: var(--element-background);
}

.museum-da .treeview .list-group-item {
    background-color: var(--element-background);
    border: var(--dark-border-color);
    color: var(--low-contrast-text-color);
}

.museum-da .tree-heading-container {
    color: var(--low-contrast-text-color);
}


/* HEADER */

.sp-navbar {
    background-color: #337ab70f;
    border-radius: 0;
}

.museum-da .sp-navbar {
    background-color: rgba(0, 0, 0, 0.2);
}

.museum-da .sp-navbar a,
.museum-da .sp-navbar button {
    color: var(--low-contrast-text-color);
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
}

.sp-navbar a:hover,
.sp-navbar a:focus,
.sp-navbar button:hover,
.sp-navbar button:focus {
    text-decoration: underline;
}

.sp-navbar li a:hover {
    background-color: transparent;
    text-decoration: underline;
}

.sp-navbar .navbar-brand {
    font-size: 14px;
}


/* ARCHIVE */

.archive-sections-container {
    display: flex;
    flex-direction: column;
}

.archive-section-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding: 20px 20px 20px 20px;
    color: #000;
    background-color: #f9f9f9;
}

.museum-da .archive-section-item {
    background-color: var(--element-background);
}

.archive-section-item:hover {
    background-color: #e9e9e9;
    text-decoration: none;
}

.museum-da .archive-section-item:hover {
    background-color: var(--dark-border-color);
}

.archive-section-item__count {
    color: var(--secondary-color);
}


/* FOOTER */

.footer {
    color: var(--low-contrast-text-color);
    height: 60px;
    padding-top: 20px;
    text-align: center;
}


/* LOGIN PAGE */

.museum-da .panel-default {
    border-color: var(--dark-border-color);
}

.museum-da .panel-default>.panel-heading {
    color: var(--low-contrast-text-color);
    background-color: var(--element-background);
    border-color: var(--dark-border-color);
}

.museum-da .panel-default .form-control {
    background-color: var(--element-background);
    border-color: var(--dark-border-color);
}

.museum-da .panel-default label {
    color: var(--low-contrast-text-color);
}